extends Label

var life = 2

func lifejian():
	life -=1
	self.text = str(life)
	if life <=0:
		get_tree().current_scene.get_node("fail").show()
		get_tree().paused = true
	pass
